<?php include 'header.php'; ?>
            <h2>发布新帖子</h2>
            <form method="post" action="add_post.php">
                <label for="title">标题：</label>
                <input type="text" id="title" name="title" required>
                
                <label for="content">内容：</label>
                <textarea id="content" name="content" rows="10" required></textarea>
                
                <button type="submit" class="btn">发布帖子</button>
            </form>
<?php include 'footer.php'; ?>
